package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.Apparatus;
import com.san.hkhospital.entity.ApparatusExample;

import java.util.List;

import com.san.hkhospital.vo.ApparatusTableVo;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName:ApparatusMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface ApparatusMapper {
    long countByExample(ApparatusExample example);

    int deleteByExample(ApparatusExample example);

    int deleteByPrimaryKey(Integer aptId);

    int insert(Apparatus record);

    int insertSelective(Apparatus record);

    List<Apparatus> selectByExample(ApparatusExample example);

    Apparatus selectByPrimaryKey(Integer aptId);

    int updateByExampleSelective(@Param("record") Apparatus record, @Param("example") ApparatusExample example);

    int updateByExample(@Param("record") Apparatus record, @Param("example") ApparatusExample example);

    int updateByPrimaryKeySelective(Apparatus record);

    int updateByPrimaryKey(Apparatus record);

    List<ApparatusTableVo> selectAll(@Param("sectionId") Integer sectionId, @Param("stateId") Integer stateId);
}